import { Routes } from '@angular/router'

export const appRoutes: Routes = [
  {
    // 默认页面
    path: '',
    redirectTo: 'login',
    pathMatch: 'full'
  }, {
    path: '',
    loadChildren: './components/auth/auth.module#AuthModule'
  }, {
    path: '',
    loadChildren: './components/workspace/workspace.module#WorkspaceModule'
  }
]
